package com.artisan.plugin;

import com.artisan.pf4j.api.Greeting;
import org.pf4j.Extension;

/**
 * 问候扩展实现
 * 实现宿主应用定义的Greeting接口
 */
@Extension
public class GreetingExtension implements Greeting {

    @Override
    public String sayHello(String name) {
        return "🎉 Hello " + name + ", from Greeting Plugin! 欢迎使用PF4J多模块插件框架！";
    }
}
